import { Component, OnInit, Injector } from '@angular/core';
import { SoftwareService, SoftwareInfo } from 'app/modules/software/services/software.service';
import { Observable, from } from 'rxjs';
import { ListResult } from 'app/modules/base/api-base';
import { ListBase } from 'app/modules/base/list-base';
import { MySelection } from 'app/modules/base/selection';

@Component({
	selector: 'm-select-software',
	templateUrl: './select-software.component.html',
	styleUrls: ['./select-software.component.scss'],
})
export class SelectSoftwareComponent implements OnInit {
	constructor(private softwareManger: SoftwareService) {}
	dataSource = this.softwareManger;
	selection = new MySelection<SoftwareInfo>('id');

	ngOnInit() {}
}
